<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/white/common/common.jsp"%>
<%@include file="/white/common/taglibs.jsp"%>
<html>
	<body>
		<s:form method="post" theme="simple" action="worklistAction!showWorkDetail"
			id="searchForm">
			<s:hidden name="selectedId" value="%{workList.NODE_INSTANCE_ID}"/>
			<div id="div_title">
				<h3>
					工作列表
				</h3>
				
			</div>
			
			<!--列表 -->
			<table cellpadding="0" cellspacing="0" class="t_list">
				<tr>					
					<!--列表头部 -->
					<th>
						工作流
					</th>
					<th>
						当前节点名称
					</th>
					<th>
						显示名称
					</th>					
					<th>
						处理
					</th>

				</tr>
				<s:iterator value="workList" status="sindex">
					<tr>	
						<td>
							<s:property value="WORKFLOW_NAME" />
						</td>						
						<td>
							<s:property value="WORKFLOW_NODE_NAME" />
						</td>
						<td>
							<s:property value="WORKFLOW_NODE_DISPLAY_NAME" />
						</td>						
						<td>
							<a
								href="<s:url action='worklistAction-%{NODE_INSTANCE_ID}!showWorkDetail.action' encode="false" />">
								<img alt="工作处理" src="ca/images/users.png" width="25"
									height="25" /> </a>
						</td>						
					</tr>
				</s:iterator>
			</table>
			<!--列表结束-->
			<!--分页-->
			<s:if test="resultList.size() > 0">
				<table border="0" cellspacing="0" cellpadding="0" class="t_bottom">
					<tr>
						<td><%@include file="/white/common/pageList.jsp"%></td>
					</tr>
				</table>
			</s:if>
			<!--分页结束-->

		</s:form>
	</body>
</html>
